package com.yaxin.oss.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Description OssProxyProperties
 * @Author lin
 * @Date 2025/4/24 18:50
 */
@Component
@ConfigurationProperties(prefix = "oss")
public class OssProxyProperties {
    private String minioOriginHost;
    private String proxyHost;

    // getter 和 setter 必须有
    public String getMinioOriginHost() {
        return minioOriginHost;
    }

    public void setMinioOriginHost(String minioOriginHost) {
        this.minioOriginHost = minioOriginHost;
    }

    public String getProxyHost() {
        return proxyHost;
    }

    public void setProxyHost(String proxyHost) {
        this.proxyHost = proxyHost;
    }
}
